package com.gljx.web.dao;

import com.gljx.web.Entity.Driving;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface DrivingMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Driving record);

    int insertSelective(Driving record);

    Driving selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Driving record);

    int updateByPrimaryKey(Driving record);

    List<Driving> selectDriving(@Param("fcompanyid") String fcompanyid, @Param("name") String name);

    List<Driving> selectDrivingAll(String companyId);

    List<Driving> selectDrivingByFnameL2(Map<String, String> map);

    List<String> selectDrivingByInName(List<String> drivingName);
}